package hgx.spring.cloud.lession.myhystrix.exception;/**
 * Created by liujun on 2018/4/19.
 */

/**
 * @author Administrator
 * @create 2018-04-19 15:27
 */
public class MyHystrixHandlerException extends  RuntimeException {
    private MyExceptionType myExceptionType;

    public MyHystrixHandlerException(String message, MyExceptionType myExceptionType) {
        super(message);
        this.myExceptionType = myExceptionType;
    }

    public MyExceptionType getMyExceptionType() {
        return myExceptionType;
    }
}
